<Level Size="900,595" ShowSize="900,595" Title="Deadly Walls"  ImageFileName="DemoLevel1.jpg">   
	<Description>Top down or bottom up?</Description>
	<Hint>Ever pray for support from above? Well, now you've got it!</Hint>
	
	<LevelTask>
		<TaskAnd>
		  <TaskRescuedGoos Count="10" />
		  <TaskNeverCompleted />
		</TaskAnd>
	</LevelTask>

	<LevelParts>
		<OffsetFrame Offset="50,10">

			<!-- The goal! This is where the goos should go. You can have multiple goals that accept different goos.
				LevelGoal determines when the goal has been reached, so each level requires a LevelGoal and a Goal. -->
			<Goal Position="170,30" AcceptsParticleTypes="all" />

			<!-- A fixed hook and a chain particle that are connected by a link -->
			<OffsetFrame Offset="10,10">
				<FixedHookParticle Position = "0,0" Sleeping="false" Identifier="myHook"/>	
				<ChainParticle Position = "5,70" Sleeping="false" Identifier="myMainMan"/>	
				<Link LinkFromId="myMainMan" LinkToId="myHook"/>
			</OffsetFrame>

			<!-- A simple but stable four ways block. You can copy this block and change the offset to place it in a new spot -->
			<OffsetFrame Offset="150,350">
				<SimpleParticle Position="0,0" Sleeping="false" Identifier="Block1"/>	
				<SimpleParticle Position="70,0" Sleeping="false" Identifier="Block2"/>	
				<SimpleParticle Position="0,70" Sleeping="false" Identifier="Block3"/>	
				<SimpleParticle Position="70,70" Sleeping="false" Identifier="Block4"/>	
				<Link LinkFromId="Block1" LinkToId="Block2" />
				<Link LinkFromId="Block2" LinkToId="Block3" />
				<Link LinkFromId="Block3" LinkToId="Block4" />
				<Link LinkFromId="Block4" LinkToId="Block1" />
				<Link LinkFromId="Block1" LinkToId="Block3" />
				<Link LinkFromId="Block4" LinkToId="Block2" />
			</OffsetFrame>
				
			<!-- A factory that creates a number of randomly placed objects -->
			<Factory Size="400,60" Position="300,450" Count="5" >
				<MultiLinkParticle Sleeping="false" Count="30"/>		
				<ChainParticle Sleeping="false" Count="4"/>
				<RopeParticle Sleeping="false" Count="4"/>
			</Factory>
			
			<KeyedMotor Position="300,450" BodyHookRadius="30" BodyHookCount="5" />
			<KeyedMotorKeyParticle Position="280,450" Direction="Forward" />
			<KeyedMotorKeyParticle Position="320,450" Direction="Backward" />

			<!-- Some random demo junk -->
			<Rectangle Position="100,100" Size="20,80" Rotation="0" FrictionCoefficient="0" Identifier="Bobby"/>
			<BodyHook Position="100,135" AttachedTo="Bobby" />

			<!-- A rotator -->
			<Rectangle Position="250,150" Size="100,30" Rotation="0" IsStatic="true" FrictionCoefficient="1" RestitutionCoefficient="0.0" Identifier="Rotator">
				<Behaviors>
					<Rotator Center="250,150" Speed="1"/>
				</Behaviors>
			</Rectangle>
			<BodyHook Position="290,150" AttachedTo="Rotator" />

			<!-- A floor -->
			<Rectangle Position="300,540" Size="650,60" Rotation="0" IsStatic="true" Identifier="Floor" FrictionCoefficient="1" RestitutionCoefficient="0.0" />

			<!-- The side walls are deadly, meaning that particles that hit them will typically die - unless
				they're impervious to death. Death-proof. -->
			<Rectangle Position="40,470" Size="70,100" Rotation="0" IsStatic="true" IsDeadly="true"/>
			<Rectangle Position="540,470" Size="30,100" Rotation="0" IsStatic="true" IsDeadly="true"/>
		</OffsetFrame>
	</LevelParts>
</Level>